package com.springboot.jktj.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.springboot.common.annotation.Excel;
import com.springboot.common.core.domain.BaseEntity;

/**
 * 套餐预约对象 jktj_reserve
 * 
 * @author springboot
 * @date 2023-11-27
 */
public class JktjReserve extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 体检套餐 */
    @Excel(name = "体检套餐")
    private Long setmId;

    /** 套餐价格 */
    @Excel(name = "套餐价格")
    private BigDecimal setmPrice;

    /** 预约用户 */
    @Excel(name = "预约用户")
    private String userName;

    /** 预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date resDatetime;

    /** 剩余数量 */
    @Excel(name = "剩余数量")
    private Long setmResidue;

    /** 预约状态 */
    @Excel(name = "预约状态")
    private Long isReserve;

    /** 预约审核 */
    @Excel(name = "预约审核")
    private String audit;

    /** 体检途径 */
    @Excel(name = "体检途径")
    private String tjRoute;

    /** 体检类型 */
    @Excel(name = "体检类型")
    private String tjType;

    /** 体检用户 */
    @Excel(name = "体检用户")
    private String tjUser;

    /** 是否预约 */
    @Excel(name = "是否预约")
    private String isSubscribe;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String userPhone;

    /** 预约人数 */
    @Excel(name = "预约人数")
    private Long resNumber;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSetmId(Long setmId) 
    {
        this.setmId = setmId;
    }

    public Long getSetmId() 
    {
        return setmId;
    }
    public void setSetmPrice(BigDecimal setmPrice) 
    {
        this.setmPrice = setmPrice;
    }

    public BigDecimal getSetmPrice() 
    {
        return setmPrice;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setResDatetime(Date resDatetime) 
    {
        this.resDatetime = resDatetime;
    }

    public Date getResDatetime() 
    {
        return resDatetime;
    }
    public void setSetmResidue(Long setmResidue) 
    {
        this.setmResidue = setmResidue;
    }

    public Long getSetmResidue() 
    {
        return setmResidue;
    }
    public void setIsReserve(Long isReserve) 
    {
        this.isReserve = isReserve;
    }

    public Long getIsReserve() 
    {
        return isReserve;
    }
    public void setAudit(String audit) 
    {
        this.audit = audit;
    }

    public String getAudit() 
    {
        return audit;
    }
    public void setTjRoute(String tjRoute) 
    {
        this.tjRoute = tjRoute;
    }

    public String getTjRoute() 
    {
        return tjRoute;
    }
    public void setTjType(String tjType) 
    {
        this.tjType = tjType;
    }

    public String getTjType() 
    {
        return tjType;
    }
    public void setTjUser(String tjUser) 
    {
        this.tjUser = tjUser;
    }

    public String getTjUser() 
    {
        return tjUser;
    }
    public void setIsSubscribe(String isSubscribe) 
    {
        this.isSubscribe = isSubscribe;
    }

    public String getIsSubscribe() 
    {
        return isSubscribe;
    }
    public void setUserPhone(String userPhone) 
    {
        this.userPhone = userPhone;
    }

    public String getUserPhone() 
    {
        return userPhone;
    }
    public void setResNumber(Long resNumber) 
    {
        this.resNumber = resNumber;
    }

    public Long getResNumber() 
    {
        return resNumber;
    }

    //体检套餐实体类
    private JktjSetmeal jktjSetmeal;

    public JktjSetmeal getJktjSetmeal() {
        return jktjSetmeal;
    }

    public void setJktjSetmeal(JktjSetmeal jktjSetmeal) {
        this.jktjSetmeal = jktjSetmeal;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("setmId", getSetmId())
            .append("setmPrice", getSetmPrice())
            .append("userName", getUserName())
            .append("resDatetime", getResDatetime())
            .append("setmResidue", getSetmResidue())
            .append("isReserve", getIsReserve())
            .append("audit", getAudit())
            .append("tjRoute", getTjRoute())
            .append("tjType", getTjType())
            .append("tjUser", getTjUser())
            .append("isSubscribe", getIsSubscribe())
            .append("userPhone", getUserPhone())
            .append("resNumber", getResNumber())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("jktjSetmeal",getJktjSetmeal())
            .toString();
    }
}
